package com.zsc.wxm.ysh.anjo.house.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zsc.wxm.ysh.anjo.service.base.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 *    房源
 * </p>
 *
 * @author playmaker
 * @since 2021-01-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("house_resources")
@ApiModel(value="Resources对象", description="房源信息")
public class Resources extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "房源标题")
    private String title;

    @ApiModelProperty(value = "房源编号")
    private String code;

    @ApiModelProperty(value = "楼盘Id")
    private Long estateId;

    @ApiModelProperty(value = "楼号(栋)")
    private String buildingNum;

    @ApiModelProperty(value = "单元号")
    private String buildingUnit;

    @ApiModelProperty(value = "门牌号")
    private String buidingFloorNum;

    @ApiModelProperty(value = "租金")
    private BigDecimal rent;

    @ApiModelProperty(value = "租赁方式，1-整租，2-合租")
    private Integer rentMethod;

    @ApiModelProperty(value = "支付方式，1-付一押一，2-付三押一，3-付六押一，4-年付押一，5-其它")
    private Integer paymentMethod;

    @ApiModelProperty(value = "户型，如：2室1厅1卫")
    private String houseType;

    @ApiModelProperty(value = "建筑面积")
    private String coveredArea;

    @ApiModelProperty(value = "使用面积")
    private String useArea;

    @ApiModelProperty(value = "楼层，如：8/26")
    private String floor;

    @ApiModelProperty(value = "朝向：东、南、西、北")
    private Integer orientation;

    @ApiModelProperty(value = "装修，1-精装，2-简装，3-毛坯")
    private Integer decoration;

    @ApiModelProperty(value = "配套设施， 如：1,2,3")
    private String facilities;

    @ApiModelProperty(value = "描述")
    private String houseDesc;

    @ApiModelProperty(value = "联系人")
    private String constact;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "看房时间，1-上午，2-中午，3-下午，4-晚上，5-全天")
    private Integer time;

    @ApiModelProperty(value = "房源状态：1待审核、2审核通过、3空置中、4已出租")
    private Integer status;

    @ApiModelProperty(value = "所属用户id")
    private Long userId;


}
